package org.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("org.example.mapper") // 这里写了 在mapper层的类就不用写@Mapper了
public class App {
    public static void main(String[] args) {

        SpringApplication.run(App.class,args);

    }
}